package com.epro.dx.activity.creditcard;

import com.epro.dx.R;

import android.app.Activity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class CardSecurityCodeActivity extends Activity {
	private Button cancelBt;
	
	private Button confirmBt;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
    	setContentView(R.layout.dialog_input);
    	TextView title = (TextView) findViewById(R.id.dialog_input_title);
		title.setText(R.string.creditcard_list_dialog_input_title);
		final EditText inputCode= (EditText) findViewById(R.id.dialog_input_et);
		Button cancelBt = (Button) findViewById(R.id.dialog_input_Cancel);
		Button confirmBt = (Button) findViewById(R.id.dialog_input_Confirm);
		cancelBt.setText(R.string.creditcard_list_dialog_input_cancel);
		confirmBt.setText(R.string.creditcard_list_dialog_input_confirm);
    }
    
//    private void setListenner(){
//    	cancelBt.setOnClickListener(new OnClickListener() {
//			
//			@Override
//			public void onClick(View v) {
//				finish();
//			}
//		});
//		confirmBt.setOnClickListener(new OnClickListener() {
//			
//			@Override
//			public void onClick(View v) {
//				String code = inputCode.getText().toString().trim();
//				if(!TextUtils.isEmpty(code)){
//					holder.securityCode.setText(code);
//				}
//				dialog.dismiss();
//			}
//		});
//    }
}
